<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/metaHead.jsp"%>
 
<div class="column full"><div class="box"><h2 class="box-header">权限</h2><div class="box-content">
		<form:form action="${base}/core/authority/save.do" modelAttribute="entity" method="post">
		<form:hidden path="id" />
		<form:hidden path="authorityType.id" />
		
		 <label class="form-label">权限类型</label> 
		<form:input path="authorityType.name" title="权限类型" cssClass="form-field half"  onfocus="initTree();" readonly="true"/>
	 <label class="form-label">名称</label> 
		<form:input path="name" title="名称" cssClass="form-field half" />
		  <label class="form-label">授权信息</label> 
		<form:input path="authinfo" title="中文名" cssClass="form-field half" />
 
		<div class="clear"></div>
		<hr/>
		<div style="clear:both;height:36px;" >
		<ul style="float:right;">
			 <li style="float:left;"><input id="cacel" class="button themed" type="button" value="取消" name="signup" /></li>
			 <li style="float:left;"><input id="validate" class="button themed" type="submit" value="保存" name="signup" /></li>
 		</ul>
		</div>
</form:form>
</div></div></div>
 <%@ include file="/common/orgTree.jsp"%>
<script type="text/javascript">
function initTree()
{
	nameObject=$("#"+"authorityType\\.name");
	idObject=$("#"+"authorityType\\.id");
	ckeckEnable=false;
	showTree("${base}/core/authoritytype/tree.do");
}
</script>
	< 
 <%@ include file="/common/foot.jsp"%>
 
  